package com.ruoyi.apartment.service.impl;

import com.ruoyi.apartment.domain.Province;
import com.ruoyi.apartment.mapper.ProvinceMapper;
import com.ruoyi.apartment.service.IProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class ProvinceServiceImpl implements IProvinceService {
    @Autowired
    private ProvinceMapper provinceMapper;

    @Override
    public List<Province> selectProvinceList(Province province) {
        return provinceMapper.selectProvinceList(province);
    }

    @Override
    public Province selectProvinceById(Long id) {
        return provinceMapper.selectProvinceById(id);
    }
}